#include "QSketch.h"
#include "QSketchManager.h"

QSketch::QSketch(QObject* parent, const gp_Pnt& O, const gp_Dir& N, const gp_Dir& Right)
	: QObject(parent)
	, m_O(O)
	, m_N(N)
	, m_R(Right)
{

}

QSketch::~QSketch()
{}

gp_Trsf QSketch::GetGlobalToLocalTransform()
{
	return QSketchManager::GetGlobalToLocalTransform(m_O, m_N, m_R);
}

gp_Trsf QSketch::GetLocalToGlobalTransform()
{
	return QSketchManager::GetLocalToGlobalTransform(m_O, m_N, m_R);
}
